<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'hotel-room-form',
	'enableAjaxValidation'=>false,
	'htmlOptions' => array('enctype'=>'multipart/form-data'),
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'holr_name'); ?>
		<?php echo $form->textField($model,'holr_name',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'holr_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'holr_bed_type'); ?>
		<?php echo $form->textField($model,'holr_bed_type',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'holr_bed_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'holr_size'); ?>
		<?php echo $form->textField($model,'holr_size'); ?>
		<?php echo $form->error($model,'holr_size'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'holr_environment'); ?>
		<?php echo $form->textField($model,'holr_environment',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'holr_environment'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'holr_price_1'); ?>
		<?php echo $form->textField($model,'holr_price_1'); ?>
		<?php echo $form->error($model,'holr_price_1'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'holr_price_2'); ?>
		<?php echo $form->textField($model,'holr_price_2'); ?>
		<?php echo $form->error($model,'holr_price_2'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'holr_desc'); ?>
		<?php echo $form->textField($model,'holr_desc',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'holr_desc'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'holr_log'); ?>
		<?php 
			echo $form->textField($model,'holr_log',array('size'=>60,'maxlength'=>100)); 
			echo "<br/>";
			echo CHtml::fileField('room_logo', '', array());
		?>
		<?php echo $form->error($model,'holr_log'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->